<?php
class Bean{
	var $name;
	function load($bean_name){
		$this->name=$bean_name;
		include("bean/".$this->name.".php");
	}
	
	function validate(){
		return eval("return ".$this->name."_bean();");
	}
}

?>